/*
 * @Description: 路由配置
 * @Author: 李沛韬(lipeitao1002@163.com)
 * @Date: 2020-12-11 16:14:20
 * @LastEditors: 李沛韬(lipeitao1002@163.com)
 * @LastEditTime: 2020-12-14 20:02:54
 */
import Vue from 'vue'
import VueRouter from 'vue-router'
import menurouter from "./menurouter";

Vue.use(VueRouter)

const loginroutes = [{
  path: '/login',
  name: 'login',
  component: () => import('../views/Login/index.vue')
}, {
  path: '/',
  redirect: "/baseMan/userMan"
}]


const routes = new Set([...loginroutes]);

const router = new VueRouter({
  mode: 'hash',
  base: process.env.BASE_URL,
  routes
})

export default router